package me.raih.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author Raih
 * @Time 2021/2/20  17:02
 *
 * 管理类，存放基本  管理 信息
 *
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Component
@ConfigurationProperties(prefix = "spring.bean.manager")
public class Manager {

    private double salesSalary;            //售货员工资比率

    private Map<Integer,Double>  leaveMap;   //等级 工资

    private Map<String,Double> forSale;             //打折信息

    private String advert;            //广告  --> 跑马灯

    private String phone;           //联系电话

    private String onTime;          //营业时间
}
